//
//  HZCartListVCModel.h
//  app
//
//  Created by 刘华舟 on 15/5/5.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HZCartCellModel.h"
#import "HZCartTotalModel.h"
@class HZRemoteResult;

@interface HZCartListVCModel : NSObject

@property (assign, nonatomic) BOOL noMoreData;
@property (strong, nonatomic) NSString *message;
@property (strong, nonatomic) NSString *timestamp;

@property (assign, nonatomic) NSInteger productsNum;
@property (strong, nonatomic) NSArray *dataArray;
@property (strong, nonatomic) HZCartTotalModel *panelModel;

@property (strong, nonatomic) HZCartCellModel *cellModelNeedToDelete;

-(id)initWithJSONData:(NSDictionary*)data;

-(HZCartCellModel *)fetchCellModelAtRow:(NSInteger)row;

//重新计算记价面板
- (void)fillPanelModel;

//选中全部或者取消全部
- (void)choseAllModelWithFlag:(BOOL)isChoseAll;

//删除cellModel
- (void)deleteCellModel;

@end
